#include <iostream>

using namespace std;

const double eps = -1e7;

double a, b, c, d;

double f(double x)
{
	return a * x * x * x + b * x * x + c * x + d;
}

double find(double l, double r)
{
	while(r - eps > l)
	{
		double mid = (l + r) / 2;
		if(f(l) * f(mid) < 0) r = mid;
		else l = mid;
	}
	return l;
}

int main()
{
	cin >> a >> b >> c >> d;
	for(double i = -100; i < 100; i++)
	{
		if(f(i) == 0) printf("%.2lf ", i);
		else if(f(i) * f(i + 1) < 0) printf("%.2lf ", find(i, i + 1));
	}
	return 0;
}
